package org.example;

import org.example.tree.Solution36;
import org.example.tree.TreeNode;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        TreeNode root = new TreeNode(1);
        root.setLeft(new TreeNode(2));
        root.setRight(new TreeNode(3));

        root.getLeft().setLeft(new TreeNode(4));
        root.getLeft().setRight(new TreeNode(5));

        root.getRight().setLeft(new TreeNode(6));


        Solution36 solution36 = new Solution36();
        List<Integer> result = solution36.inorderTraversal(root);
        System.out.println(result);
    }
}